/* 自动生成的过滤器样式 */

.filter-group {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.filter-group label {
    font-weight: bold;
    color: #333;
    font-size: 14px;
}

/* 多选和单选下拉框 */
.filter-group select {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    background-color: white;
}

.filter-group select[multiple] {
    min-height: 80px;
}

/* 数字范围过滤器 */
.range-filter .range-inputs {
    display: flex;
    align-items: center;
    gap: 10px;
}

.range-filter input[type="number"] {
    flex: 1;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.range-filter span {
    color: #666;
    font-weight: bold;
}

/* 文本输入框 */
.filter-group input[type="text"] {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .range-filter .range-inputs {
        flex-direction: column;
        gap: 5px;
    }
    
    .range-filter span {
        display: none;
    }
}

/* 过滤器容器 */
.filters-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 20px;
}

/* 过滤器按钮 */
.filter-buttons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.filter-buttons button {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

.filter-buttons .apply-btn {
    background-color: #007bff;
    color: white;
}

.filter-buttons .apply-btn:hover {
    background-color: #0056b3;
}

.filter-buttons .clear-btn {
    background-color: #6c757d;
    color: white;
}

.filter-buttons .clear-btn:hover {
    background-color: #545b62;
} 